package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaLogisticsMethod", catalog="Id")
public class TccFbaLogisticsMethod extends BaseEntity<TccFbaLogisticsMethod> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="LogsticsWayId", nameJava="logsticsWayId", typeDataBase="bigint")
	private Long logsticsWayId;
	@YsField(nameDataBase="LogsticsWay", nameJava="logsticsWay", typeDataBase="varchar")
	private String logsticsWay;
	@YsField(nameDataBase="Cck", nameJava="cck", typeDataBase="varchar")
	private String cck;
	@YsField(nameDataBase="Vck", nameJava="vck", typeDataBase="varchar")
	private String vck;
	@YsField(nameDataBase="TransportationId", nameJava="transportationId", typeDataBase="bigint")
	private Long transportationId;
	@YsField(nameDataBase="TransportationCn", nameJava="transportationCn", typeDataBase="varchar")
	private String transportationCn;
	@YsField(nameDataBase="TransportationEn", nameJava="transportationEn", typeDataBase="varchar")
	private String transportationEn;
	@YsField(nameDataBase="EstimatedDayFrom", nameJava="estimatedDayFrom", typeDataBase="int")
	private Integer estimatedDayFrom;
	@YsField(nameDataBase="EstimatedDayTo", nameJava="estimatedDayTo", typeDataBase="int")
	private Integer estimatedDayTo;
	@YsField(nameDataBase="NameLogsticsClearance", nameJava="nameLogsticsClearance", typeDataBase="tinyint")
	private Integer nameLogsticsClearance;
	@YsField(nameDataBase="CoefficientWeight", nameJava="coefficientWeight", typeDataBase="int")
	private Integer coefficientWeight;
	@YsField(nameDataBase="SinglePassCrane", nameJava="singlePassCrane", typeDataBase="decimal")
	private BigDecimal singlePassCrane;
	@YsField(nameDataBase="WeightCalBySingle", nameJava="weightCalBySingle", typeDataBase="decimal")
	private BigDecimal weightCalBySingle;
	@YsField(nameDataBase="SingleBoxReqAmountMin", nameJava="singleBoxReqAmountMin", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMin;
	@YsField(nameDataBase="SingleBoxReqAmountMax", nameJava="singleBoxReqAmountMax", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMax;
	@YsField(nameDataBase="ClearanceOpeAmount", nameJava="clearanceOpeAmount", typeDataBase="decimal")
	private BigDecimal clearanceOpeAmount;
	@YsField(nameDataBase="FreeProNameNum", nameJava="freeProNameNum", typeDataBase="int")
	private Integer freeProNameNum;
	@YsField(nameDataBase="FreeProNameNumSj", nameJava="freeProNameNumSj", typeDataBase="int")
	private Integer freeProNameNumSj;
	@YsField(nameDataBase="MaxProNameNum", nameJava="maxProNameNum", typeDataBase="int")
	private Integer maxProNameNum;
	@YsField(nameDataBase="AdditionalStandardAmount", nameJava="additionalStandardAmount", typeDataBase="decimal")
	private BigDecimal additionalStandardAmount;
	@YsField(nameDataBase="DivisionalRule", nameJava="divisionalRule", typeDataBase="tinyint")
	private Integer divisionalRule;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="JfStart", nameJava="jfStart", typeDataBase="decimal")
	private BigDecimal jfStart;
	@YsField(nameDataBase="JfEnd", nameJava="jfEnd", typeDataBase="decimal")
	private BigDecimal jfEnd;
	@YsField(nameDataBase="JfFee", nameJava="jfFee", typeDataBase="decimal")
	private BigDecimal jfFee;
	@YsField(nameDataBase="CzCn", nameJava="czCn", typeDataBase="varchar")
	private String czCn;
	@YsField(nameDataBase="CzEn", nameJava="czEn", typeDataBase="varchar")
	private String czEn;
	@YsField(nameDataBase="CzFee", nameJava="czFee", typeDataBase="decimal")
	private BigDecimal czFee;
	@YsField(nameDataBase="PzStart", nameJava="pzStart", typeDataBase="decimal")
	private BigDecimal pzStart;
	@YsField(nameDataBase="PzEnd", nameJava="pzEnd", typeDataBase="decimal")
	private BigDecimal pzEnd;
	@YsField(nameDataBase="PzFee", nameJava="pzFee", typeDataBase="decimal")
	private BigDecimal pzFee;
	@YsField(nameDataBase="DestinationCountryName", nameJava="destinationCountryName", typeDataBase="varchar")
	private String destinationCountryName;
	@YsField(nameDataBase="DestinationCountryCode", nameJava="destinationCountryCode", typeDataBase="varchar")
	private String destinationCountryCode;
	@YsField(nameDataBase="WarehouseArea", nameJava="warehouseArea", typeDataBase="varchar")
	private String warehouseArea;
	@YsField(nameDataBase="FirstPostalCode", nameJava="firstPostalCode", typeDataBase="varchar")
	private String firstPostalCode;
	@YsField(nameDataBase="WarehouseCode", nameJava="warehouseCode", typeDataBase="varchar")
	private String warehouseCode;
	@YsField(nameDataBase="AdditionalBilling", nameJava="additionalBilling", typeDataBase="varchar")
	private String additionalBilling;
	@YsField(nameDataBase="SourceType", nameJava="sourceType", typeDataBase="tinyint")
	private Integer sourceType;
	@YsField(nameDataBase="SourceBid", nameJava="sourceBid", typeDataBase="varchar")
	private String sourceBid;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaLogisticsMethod setId(Long id) {
		this.id = id;
		return this;
	}
	public Long getLogsticsWayId() {
		return logsticsWayId;
	}
	public TccFbaLogisticsMethod setLogsticsWayId(Long logsticsWayId) {
		this.logsticsWayId = logsticsWayId;
		return this;
	}
	public String getLogsticsWay() {
		return logsticsWay;
	}
	public TccFbaLogisticsMethod setLogsticsWay(String logsticsWay) {
		this.logsticsWay = logsticsWay;
		return this;
	}
	public String getCck() {
		return cck;
	}
	public TccFbaLogisticsMethod setCck(String cck) {
		this.cck = cck;
		return this;
	}
	public String getVck() {
		return vck;
	}
	public TccFbaLogisticsMethod setVck(String vck) {
		this.vck = vck;
		return this;
	}
	public Long getTransportationId() {
		return transportationId;
	}
	public TccFbaLogisticsMethod setTransportationId(Long transportationId) {
		this.transportationId = transportationId;
		return this;
	}
	public String getTransportationCn() {
		return transportationCn;
	}
	public TccFbaLogisticsMethod setTransportationCn(String transportationCn) {
		this.transportationCn = transportationCn;
		return this;
	}
	public String getTransportationEn() {
		return transportationEn;
	}
	public TccFbaLogisticsMethod setTransportationEn(String transportationEn) {
		this.transportationEn = transportationEn;
		return this;
	}
	public Integer getEstimatedDayFrom() {
		return estimatedDayFrom;
	}
	public TccFbaLogisticsMethod setEstimatedDayFrom(Integer estimatedDayFrom) {
		this.estimatedDayFrom = estimatedDayFrom;
		return this;
	}
	public Integer getEstimatedDayTo() {
		return estimatedDayTo;
	}
	public TccFbaLogisticsMethod setEstimatedDayTo(Integer estimatedDayTo) {
		this.estimatedDayTo = estimatedDayTo;
		return this;
	}
	public Integer getNameLogsticsClearance() {
		return nameLogsticsClearance;
	}
	public TccFbaLogisticsMethod setNameLogsticsClearance(Integer nameLogsticsClearance) {
		this.nameLogsticsClearance = nameLogsticsClearance;
		return this;
	}
	public Integer getCoefficientWeight() {
		return coefficientWeight;
	}
	public TccFbaLogisticsMethod setCoefficientWeight(Integer coefficientWeight) {
		this.coefficientWeight = coefficientWeight;
		return this;
	}
	public BigDecimal getSinglePassCrane() {
		return singlePassCrane;
	}
	public TccFbaLogisticsMethod setSinglePassCrane(BigDecimal singlePassCrane) {
		this.singlePassCrane = singlePassCrane;
		return this;
	}
	public BigDecimal getWeightCalBySingle() {
		return weightCalBySingle;
	}
	public TccFbaLogisticsMethod setWeightCalBySingle(BigDecimal weightCalBySingle) {
		this.weightCalBySingle = weightCalBySingle;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMin() {
		return singleBoxReqAmountMin;
	}
	public TccFbaLogisticsMethod setSingleBoxReqAmountMin(BigDecimal singleBoxReqAmountMin) {
		this.singleBoxReqAmountMin = singleBoxReqAmountMin;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMax() {
		return singleBoxReqAmountMax;
	}
	public TccFbaLogisticsMethod setSingleBoxReqAmountMax(BigDecimal singleBoxReqAmountMax) {
		this.singleBoxReqAmountMax = singleBoxReqAmountMax;
		return this;
	}
	public BigDecimal getClearanceOpeAmount() {
		return clearanceOpeAmount;
	}
	public TccFbaLogisticsMethod setClearanceOpeAmount(BigDecimal clearanceOpeAmount) {
		this.clearanceOpeAmount = clearanceOpeAmount;
		return this;
	}
	public Integer getFreeProNameNum() {
		return freeProNameNum;
	}
	public TccFbaLogisticsMethod setFreeProNameNum(Integer freeProNameNum) {
		this.freeProNameNum = freeProNameNum;
		return this;
	}
	public Integer getFreeProNameNumSj() {
		return freeProNameNumSj;
	}
	public TccFbaLogisticsMethod setFreeProNameNumSj(Integer freeProNameNumSj) {
		this.freeProNameNumSj = freeProNameNumSj;
		return this;
	}
	public Integer getMaxProNameNum() {
		return maxProNameNum;
	}
	public TccFbaLogisticsMethod setMaxProNameNum(Integer maxProNameNum) {
		this.maxProNameNum = maxProNameNum;
		return this;
	}
	public BigDecimal getAdditionalStandardAmount() {
		return additionalStandardAmount;
	}
	public TccFbaLogisticsMethod setAdditionalStandardAmount(BigDecimal additionalStandardAmount) {
		this.additionalStandardAmount = additionalStandardAmount;
		return this;
	}
	public Integer getDivisionalRule() {
		return divisionalRule;
	}
	public TccFbaLogisticsMethod setDivisionalRule(Integer divisionalRule) {
		this.divisionalRule = divisionalRule;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccFbaLogisticsMethod setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public BigDecimal getJfStart() {
		return jfStart;
	}
	public TccFbaLogisticsMethod setJfStart(BigDecimal jfStart) {
		this.jfStart = jfStart;
		return this;
	}
	public BigDecimal getJfEnd() {
		return jfEnd;
	}
	public TccFbaLogisticsMethod setJfEnd(BigDecimal jfEnd) {
		this.jfEnd = jfEnd;
		return this;
	}
	public BigDecimal getJfFee() {
		return jfFee;
	}
	public TccFbaLogisticsMethod setJfFee(BigDecimal jfFee) {
		this.jfFee = jfFee;
		return this;
	}
	public String getCzCn() {
		return czCn;
	}
	public TccFbaLogisticsMethod setCzCn(String czCn) {
		this.czCn = czCn;
		return this;
	}
	public String getCzEn() {
		return czEn;
	}
	public TccFbaLogisticsMethod setCzEn(String czEn) {
		this.czEn = czEn;
		return this;
	}
	public BigDecimal getCzFee() {
		return czFee;
	}
	public TccFbaLogisticsMethod setCzFee(BigDecimal czFee) {
		this.czFee = czFee;
		return this;
	}
	public BigDecimal getPzStart() {
		return pzStart;
	}
	public TccFbaLogisticsMethod setPzStart(BigDecimal pzStart) {
		this.pzStart = pzStart;
		return this;
	}
	public BigDecimal getPzEnd() {
		return pzEnd;
	}
	public TccFbaLogisticsMethod setPzEnd(BigDecimal pzEnd) {
		this.pzEnd = pzEnd;
		return this;
	}
	public BigDecimal getPzFee() {
		return pzFee;
	}
	public TccFbaLogisticsMethod setPzFee(BigDecimal pzFee) {
		this.pzFee = pzFee;
		return this;
	}
	public String getDestinationCountryName() {
		return destinationCountryName;
	}
	public TccFbaLogisticsMethod setDestinationCountryName(String destinationCountryName) {
		this.destinationCountryName = destinationCountryName;
		return this;
	}
	public String getDestinationCountryCode() {
		return destinationCountryCode;
	}
	public TccFbaLogisticsMethod setDestinationCountryCode(String destinationCountryCode) {
		this.destinationCountryCode = destinationCountryCode;
		return this;
	}
	public String getWarehouseArea() {
		return warehouseArea;
	}
	public TccFbaLogisticsMethod setWarehouseArea(String warehouseArea) {
		this.warehouseArea = warehouseArea;
		return this;
	}
	public String getFirstPostalCode() {
		return firstPostalCode;
	}
	public TccFbaLogisticsMethod setFirstPostalCode(String firstPostalCode) {
		this.firstPostalCode = firstPostalCode;
		return this;
	}
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public TccFbaLogisticsMethod setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
		return this;
	}
	public String getAdditionalBilling() {
		return additionalBilling;
	}
	public TccFbaLogisticsMethod setAdditionalBilling(String additionalBilling) {
		this.additionalBilling = additionalBilling;
		return this;
	}
	public Integer getSourceType() {
		return sourceType;
	}
	public TccFbaLogisticsMethod setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
		return this;
	}
	public String getSourceBid() {
		return sourceBid;
	}
	public TccFbaLogisticsMethod setSourceBid(String sourceBid) {
		this.sourceBid = sourceBid;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaLogisticsMethod setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaLogisticsMethod setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaLogisticsMethod setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaLogisticsMethod tccFbaLogisticsMethod(
		Long logsticsWayId,
		String logsticsWay,
		String cck,
		String vck,
		Long transportationId,
		String transportationCn,
		String transportationEn,
		Integer estimatedDayFrom,
		Integer estimatedDayTo,
		Integer nameLogsticsClearance,
		Integer coefficientWeight,
		BigDecimal singlePassCrane,
		BigDecimal weightCalBySingle,
		BigDecimal singleBoxReqAmountMin,
		BigDecimal singleBoxReqAmountMax,
		BigDecimal clearanceOpeAmount,
		Integer freeProNameNum,
		Integer freeProNameNumSj,
		Integer maxProNameNum,
		BigDecimal additionalStandardAmount,
		Integer divisionalRule,
		String remark,
		BigDecimal jfStart,
		BigDecimal jfEnd,
		BigDecimal jfFee,
		String czCn,
		String czEn,
		BigDecimal czFee,
		BigDecimal pzStart,
		BigDecimal pzEnd,
		BigDecimal pzFee,
		String destinationCountryName,
		String destinationCountryCode,
		String warehouseArea,
		String firstPostalCode,
		String warehouseCode,
		String additionalBilling,
		Integer sourceType,
		String sourceBid,
		Integer status
			) {
		TccFbaLogisticsMethod entity = new TccFbaLogisticsMethod();
		entity.setLogsticsWayId(logsticsWayId);
		entity.setLogsticsWay(logsticsWay);
		entity.setCck(cck);
		entity.setVck(vck);
		entity.setTransportationId(transportationId);
		entity.setTransportationCn(transportationCn);
		entity.setTransportationEn(transportationEn);
		entity.setEstimatedDayFrom(estimatedDayFrom);
		entity.setEstimatedDayTo(estimatedDayTo);
		entity.setNameLogsticsClearance(nameLogsticsClearance);
		entity.setCoefficientWeight(coefficientWeight);
		entity.setSinglePassCrane(singlePassCrane);
		entity.setWeightCalBySingle(weightCalBySingle);
		entity.setSingleBoxReqAmountMin(singleBoxReqAmountMin);
		entity.setSingleBoxReqAmountMax(singleBoxReqAmountMax);
		entity.setClearanceOpeAmount(clearanceOpeAmount);
		entity.setFreeProNameNum(freeProNameNum);
		entity.setFreeProNameNumSj(freeProNameNumSj);
		entity.setMaxProNameNum(maxProNameNum);
		entity.setAdditionalStandardAmount(additionalStandardAmount);
		entity.setDivisionalRule(divisionalRule);
		entity.setRemark(remark);
		entity.setJfStart(jfStart);
		entity.setJfEnd(jfEnd);
		entity.setJfFee(jfFee);
		entity.setCzCn(czCn);
		entity.setCzEn(czEn);
		entity.setCzFee(czFee);
		entity.setPzStart(pzStart);
		entity.setPzEnd(pzEnd);
		entity.setPzFee(pzFee);
		entity.setDestinationCountryName(destinationCountryName);
		entity.setDestinationCountryCode(destinationCountryCode);
		entity.setWarehouseArea(warehouseArea);
		entity.setFirstPostalCode(firstPostalCode);
		entity.setWarehouseCode(warehouseCode);
		entity.setAdditionalBilling(additionalBilling);
		entity.setSourceType(sourceType);
		entity.setSourceBid(sourceBid);
		entity.setStatus(status);
		return entity;
	}
}